package com.jhoncy.rapid.base.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.io.Serializable;
import java.util.Date;

/**
 * @author zhuangqi
 * @date 2017/7/19.
 */
@Entity
public class BaseRole implements Serializable {

    private static final long serialVersionUID = -8664789878863431549L;
    @Id
    @Column(nullable = false,length = 32)
    private String roleId;

    @Column(nullable = false,length = 32)
    private String roleName;

    @Column(length = 32)
    private String insertUserId;

    private Date insertDate;

    @Column(length = 128)
    private String remark;

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getInsertUserId() {
        return insertUserId;
    }

    public void setInsertUserId(String insertUserId) {
        this.insertUserId = insertUserId;
    }

    public Date getInsertDate() {
        return insertDate;
    }

    public void setInsertDate(Date insertDate) {
        this.insertDate = insertDate;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
